# -*- coding: utf-8 -*-

"""
Time    :2021/6/15 下午8:30
Author  :chenyang
Email   :chenyang.it@outlook.com
FileName: __init__.py.py
Software: PyCharm
"""
from flask import Flask
from . import config
from app.views import config_blueprint
from app.extensions import config_extensions



def create_app():
    app = Flask(__name__)
    app.config.from_object(config)
    config_blueprint(app)
    config_extensions(app)
    return app


